package com.whmskj.xjlhsc.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * 打包统计表
 *
 * @author lk
 * @since 2025-07-11 11:26:13
 */
@Data
@ApiModel(description = "打包统计表")
@TableName("db_statistics")
public class DbStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID", example = "1")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 日期
     */
    @ApiModelProperty(value = "日期", example = "2025-08-13")
    @TableField("date_ymd")
    private String dateYmd;

    /**
     * 班次
     */
    @ApiModelProperty(value = "班次", example = "早班")
    @TableField("classs")
    private String classs;

    /**
     * 班组
     */
    @ApiModelProperty(value = "班组", example = "甲班")
    @TableField("team_name")
    private String teamName;

    /**
     * 打包工ID
     */
    @ApiModelProperty(value = "打包工ID", example = "1001")
    @TableField("emp_id")
    private Integer empId;

    /**
     * 打包工名称
     */
    @ApiModelProperty(value = "打包工名称", example = "张三")
    @TableField("emp_name")
    private String empName;

    /**
     * 打包重量/kg
     */
    @ApiModelProperty(value = "打包重量(kg)", example = "100.5")
    private Double weight;

    /**
     * 包数
     */
    @ApiModelProperty(value = "包数", example = "50.0")
    private Double bs;

    /**
     * 品种
     */
    @ApiModelProperty(value = "品种", example = "棉花")
    private String variety;

    /**
     * 打包区域
     */
    @ApiModelProperty(value = "打包区域", example = "A区")
    private String area;

    /**
     * 所属绩效月
     */
    @ApiModelProperty(value = "所属绩效月", example = "2025-08")
    @TableField("performance_month")
    private String performanceMonth;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", example = "2025-08-13 10:00:00")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}